package com.wsx.ones.dubbo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * @author wangshuaixin
 * @Title: com.wsx.ones.dubbo.DubboApplication
 * @Description: TODO
 * @date 2019/04/19
 */
@SpringBootApplication
@ImportResource({"classpath*:provider.xml"})
public class DubboApplication {

    public static void main(String[] args) {
        System.setProperty("java.net.preferIPv4Stack", "true");
        SpringApplication application = new SpringApplication(DubboApplication.class);
        application.run(args);
    }
}
